#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arrA[] = { 1,2,3,4 };
	int arrB[] = { 4,5,6,7 };
	int len = sizeof(arrA) / sizeof(arrA[0]);
	for (int i = 0; i < len; i++)
	{
		printf("%d ", arrA[i]);
	}
	printf("\n");
	for (int i = 0; i < len; i++)
	{
		printf("%d ", arrB[i]);
	}
	printf("\n=======");
	for (int i = 0; i < len; i++)
	{
		int tmp = arrA[i];
		arrA[i] = arrB[i];
		arrB[i] = tmp;
	}
	printf("\n");
	for (int i = 0; i < len; i++)
	{
		printf("%d ", arrA[i]);
	}
	printf("\n");
	for (int i = 0; i < len; i++)
	{
		printf("%d ", arrB[i]);
	}

	return 0;
}
